package com.example.springbootthreaddemo.demo01;

import java.util.concurrent.TimeUnit;

/**
 * @Author: jixiaotian.ch@qq.com
 * @Date : 2020/9/1
 */
public class ThreadDemo01 implements  Runnable{
    @Override
    public void run() {

        try {
            TimeUnit.SECONDS.sleep(1);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("Runnable");


    }
}
